<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateSellerTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		//
        Schema::create('seller', function ($table) {
            $table->increments('id');
            $table->char('name', 20)->default('');
            $table->string('address', 255)->default('');
            $table->char('location', 255)->default('');
            $table->integer('create_time')->default(0);
        });
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		//
        Schema::drop('seller');
	}

}
